package Visitor_Pattern.School;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Student implements People{
    private String name;
    private int point;
    private int number;

    public Student(String name,int point,int number){
        this.name=name;
        this.point=point;
        this.number=number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getNumber() {
        return number;
    }

    public void check(Award_Check award_check) {
        award_check.check(this);

    }
}
